<template> </template>

<script>
export default {
    name: "TargetPositioning",

    created() {
        /*       let a = null;
        let that = this;
        navigator.geolocation.getCurrentPosition(
            res => {
                res.coords.longitude, res.coords.latitude, new Date().toString();
                JavaContext.OpenTargetPositioningAndroidWindow(res.coords.latitude.toString(), res.coords.longitude, new Date().toString());
            },
            err => {
                a = err.code + " " + err.message;
                that.$message({
                    showClose: true,
                    message: "定位失败",
                    type: "error"
                });
            }
        );*/
        JavaContext.OpenTargetPositioningAndroidWindow();
    }
};
</script>

<style scoped></style>
